<template>

</template>

<script>
	export default{
		props: ['processId'],
		watch:{
			'processId':function(newValue,oldValue){
				var _self = this;
				var url = _self.utilHelper.apiUrl+'/wordFlowData/getWorkFlowName';
				var params = {
					processId:newValue
				}
				_self.$http.post(url,params).then((response)=>{
					var body = response.body;
					if(body.obj!=null&&body.obj!=""){
						document.setTitle(body.obj);	
					}else{
						document.setTitle('流程详情');
					}
						
					
					
				});
			}
		}
	}
</script>
